﻿using CatUtils.Utils.Currency.IoUtils;
using RabbitDownload.Helper;

using System;
using System.Collections.Generic;

namespace RabbitDownload.WebSite.Yande
{
    internal class YandeStaticValue
    {
        private static string allApi = "https://yande.re/post.xml?limit=100&page={0}";

        private static string tagApi = "https://yande.re/post.xml?limit=100&page={0}&tags={1}";

        private static string downLoadMode = "";
        private static int imgScore = 0;
        private static String YandeOldListPath = StaticValueOld.OldLogPath + "YandeList.lst";
        private static List<string> YandeOldList = FileHelper.ReadAllLine(YandeOldListPath1);
        private static bool UseLogFlag = true;
        private static bool excludeFlag = false;

        /// <summary>
        /// 下载全部图的API
        /// </summary>
        public static string AllApi { get => allApi; set => allApi = value; }

        /// <summary>
        /// 下载模式
        /// </summary>
        public static string DownLoadMode { get => downLoadMode; set => downLoadMode = value; }

        /// <summary>
        /// 图片分数
        /// </summary>
        public static int ImgScore { get => imgScore; set => imgScore = value; }

        /// <summary>
        /// Tag扫描API
        /// </summary>
        public static string TagApi { get => tagApi; set => tagApi = value; }

        /// <summary>
        /// 日志路径
        /// </summary>
        public static string YandeOldListPath1 { get => YandeOldListPath; set => YandeOldListPath = value; }

        /// <summary>
        /// 日志列表
        /// </summary>
        public static List<string> YandeOldList1 { get => YandeOldList; set => YandeOldList = value; }

        /// <summary>
        /// 是否使用日志
        /// </summary>
        public static bool UseLogFlag1 { get => UseLogFlag; set => UseLogFlag = value; }

        /// <summary>
        /// 屏蔽模式
        /// </summary>
        public static bool ExcludeFlag { get => excludeFlag; set => excludeFlag = value; }
    }
}